package com.chenjw.flow.service;

import java.util.Date;
import java.util.Map;

import com.chenjw.flow.R;
import com.chenjw.flow.dao.Flow;
import com.chenjw.flow.dao.Flow.FlowColumns;

import android.content.ContentResolver;
import android.database.Cursor;
import android.widget.SimpleCursorAdapter;
import android.widget.TextView;

public abstract class AbstractFlowInfoCalculateStrategy implements FlowInfoCalculateStrategy {

    public Cursor getCursor(FlowInfoContext context) {
        ContentResolver contentResolver = context.contentResolver;
        Cursor cur = contentResolver.query(Flow.CONTENT_URI, new String[] { FlowColumns._ID, FlowColumns.FLOW,
                FlowColumns.CREATE_DATE }, null, null, null);

        return cur;
    }

}
